package com.mc.lp.database.entity.helper;

import com.mc.lp.database.entity.MicroCampusBaseEntity;
import com.mc.lp.shared.vo.IValueObject;

/**
 * evey helper must implement this interface to return the calling client both bo and entity based on called method.
 * @author deepak
 *
 * @param <T>
 * @param <E>
 */
public interface IEntityHelper<E extends MicroCampusBaseEntity, B extends IValueObject> {
	
	public B getVO(E entity);
	
	public E getEntity(B vo);
	
	public void setEntity(B vo,E entity);
}